import App from './App'

// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
import * as demo from 'utils/request.js'

import Sp from'pages/sp/sp';
Vue.component('sp',Sp)

import Zs from'pages/zs/zs';
Vue.component('zs',Zs)

import Hot from'pages/hot_sp/hot_sp';
Vue.component('hot',Hot)

import Jj from'pages/jianjie/jianjie'
Vue.component('jj',Jj)

import Ct from'pages/cent/cent'
Vue.component('ct',Ct)

import Fl from'pages/flpage/flpage'
Vue.component('fl',Fl)

import Flone from'pages/flpage_one/flpage_one'
Vue.component('flone',Flone)



// 全局引入分享
import share from './pages/share';
Vue.mixin(share)

for(let key in demo){
	Vue.prototype[key] = demo[key]
}
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
  ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif